Barcode Scanner

Properties

Name Type Description
Color String New in V7.0. Gets/Sets the name of the color of the equipment
Visible Boolean New in V7.0. Gets/Sets the visibility of the equipment

Events

OnReadStarted

Invoked when the scanner starts a read operation

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, product: Product);

 

Parameter Name Type Description
sender Object The object associated with the changed property
product Product The product being read

OnReadComplete

Invoked when the scanner completes a read operation

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, product: Product, result: integer, code: string);

 

Parameter Name Type Description
sender Object The object associated with the changed property
product Product The product being read
result Integer Integer value representing the result, see below.
code String Value of the code

 

Read Result

Value Meaning
1 Good
2 No Read
3 Multi Read Success
4 Multi Read Failure

Functions

void StartRead(product: Product);

Called to trigger the read of the barcode

Parameter Name Type Description
product Product A product object that is to be identified

Return value - NONE